<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"
%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"
%><%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"
%><%@ taglib prefix="spring" uri="http://www.springframework.org/tags"
%><%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"
%><%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"
%>
<ul>
    <li><a href="${pageContext.request.contextPath}/index"><fmt:message key="layouts_home"/></a></li>
<security:authorize ifNotGranted="ROLE_USER">
    <li><a href="${pageContext.request.contextPath}/login/index"><fmt:message key="layouts_login" /></a></li>
</security:authorize>
<security:authorize ifAllGranted="ROLE_ADMIN">
    <li><a href="#">站点管理</a>
        <ul>
            <li><a href="${pageContext.request.contextPath}/domain/site/index">站点管理</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/folder/index">浏览站点</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/htmlPage/index">HTML页面</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/fileAsset/index">文件管理</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/container/index.action">容器管理</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/template/index">模板管理</a></li>
        </ul>
    </li>
    <li><a href="#">产品管理</a>
        <ul>
            <li><a href="${pageContext.request.contextPath}/domain/order/index">订单管理</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/contentlet/index">内容管理</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/user/index">用户管理</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/coupon/index">优惠促销</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/userFaverite/index">用户收藏</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/clickstream/index">用户日志</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/clickStreamRequest/index">日志详情</a></li>
        </ul>
    </li>
    <li><a href="#">系统管理</a>
        <ul>
            <li><a href="${pageContext.request.contextPath}/domain/structure/index">内容结构</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/relationship/index">结构关系</a></li>
            <li><a href="${pageContext.request.contextPath}/domain/category/index">内容分类</a></li>
        </ul>
    </li>
</security:authorize>
</ul>
